<%-- 
    Document   : PlaceListSearch
    Created on : Jul 31, 2013, 9:57:44 AM
    Author     : SQL
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        
        <link rel="stylesheet" href="css/base.css">
        <link rel="stylesheet" href="css/themes/type_04.css">
        <link rel="stylesheet" href="css/themes/color_13.css">
        <title>Search Result</title>
    </head>    
    <body onload="displayResult()">
    <header class="sixteen columns">
        <div id="logo">
            <h1>Search result</h1>
        </div>
        <hr />
        <form action="PrintPDF" method="POST">
            <input type="hidden" name ="txtResultFile" value="${param.txtResultFile}" style="position:fixed">
            <input type="submit" value="Print PDF" style="position:fixed">
        </form>
    </header>
    <c:import var="xml" url="${param.txtResultFile}"/>
    <c:import var="xslt" url="ListPlaces_CustomerStyleSheet.xsl"/>
    <x:transform xml="${xml}" xslt="${xslt}"/>
    <script>
        function goBack()
        {
            window.history.back()
        }        
    </script>
    <input type="button" value="Go Back" onclick="goBack()"/>    
</body>
</html>